<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>QuantumLibrary: Bloomberg::quantum::Task Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">QuantumLibrary
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d0/d90/classBloomberg_1_1quantum_1_1Task.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="../../d2/d8b/classBloomberg_1_1quantum_1_1Task-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Bloomberg::quantum::Task Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Runnable object representing a coroutine.  
 <a href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../df/dfc/quantum__task_8h_source.html">quantum_task.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Bloomberg::quantum::Task:</div>
<div class="dyncontent">
 <div class="center">
  <img src="../../d0/d90/classBloomberg_1_1quantum_1_1Task.png" usemap="#Bloomberg::quantum::Task_map" alt=""/>
  <map id="Bloomberg::quantum::Task_map" name="Bloomberg::quantum::Task_map">
<area href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html" title="Interface to a task continuation. For internal use only." alt="Bloomberg::quantum::ITaskContinuation" shape="rect" coords="0,112,229,136"/>
<area href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html" title="Interface to a task. For internal use only." alt="Bloomberg::quantum::ITask" shape="rect" coords="0,56,229,80"/>
<area href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html" title="Represents an object which can be terminated. This interface allows certain objects to be explicitly ..." alt="Bloomberg::quantum::ITerminate" shape="rect" coords="0,0,229,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a2d6e0bcef2e9f07d966c9734f92f4969"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a2d6e0bcef2e9f07d966c9734f92f4969">Ptr</a> = std::shared_ptr&lt; <a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a> &gt;</td></tr>
<tr class="separator:a2d6e0bcef2e9f07d966c9734f92f4969"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a1f2d26f8f0edb3ac2ff31e36e497ca"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a5a1f2d26f8f0edb3ac2ff31e36e497ca">WeakPtr</a> = std::weak_ptr&lt; <a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a> &gt;</td></tr>
<tr class="separator:a5a1f2d26f8f0edb3ac2ff31e36e497ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_structBloomberg_1_1quantum_1_1ITaskContinuation"><td colspan="2" onclick="javascript:toggleInherit('pub_types_structBloomberg_1_1quantum_1_1ITaskContinuation')"><img src="../../closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html">Bloomberg::quantum::ITaskContinuation</a></td></tr>
<tr class="memitem:ad476dfb42152a7407ca71ad9a24941ac inherit pub_types_structBloomberg_1_1quantum_1_1ITaskContinuation"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#ad476dfb42152a7407ca71ad9a24941ac">Ptr</a> = std::shared_ptr&lt; <a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html">ITaskContinuation</a> &gt;</td></tr>
<tr class="separator:ad476dfb42152a7407ca71ad9a24941ac inherit pub_types_structBloomberg_1_1quantum_1_1ITaskContinuation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f8bd7cd7729c363517994627df51a09 inherit pub_types_structBloomberg_1_1quantum_1_1ITaskContinuation"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#a7f8bd7cd7729c363517994627df51a09">WeakPtr</a> = std::weak_ptr&lt; <a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html">ITaskContinuation</a> &gt;</td></tr>
<tr class="separator:a7f8bd7cd7729c363517994627df51a09 inherit pub_types_structBloomberg_1_1quantum_1_1ITaskContinuation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_structBloomberg_1_1quantum_1_1ITask"><td colspan="2" onclick="javascript:toggleInherit('pub_types_structBloomberg_1_1quantum_1_1ITask')"><img src="../../closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html">Bloomberg::quantum::ITask</a></td></tr>
<tr class="memitem:ae01baba509e1529f4f89e01d9c19fa14 inherit pub_types_structBloomberg_1_1quantum_1_1ITask"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14">Type</a> : int { <br />
&#160;&#160;<a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14a5c80f101108a356211fcb26b3f83eabb">Type::Standalone</a>, 
<a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14a7fb55ed0b7a30342ba6da306428cae04">Type::First</a>, 
<a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14af11580a0250ef12842e64f487810cc70">Type::Continuation</a>, 
<a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14a1f7e195559ec06a7b2d22bd481043c6c">Type::ErrorHandler</a>, 
<br />
&#160;&#160;<a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14abeae421a14a34f831c113f61323d1ab3">Type::Final</a>, 
<a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14a61e77370e51c7ffa489700cbd32f2ad9">Type::Termination</a>, 
<a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14acf3882f1c43ab22bff0bd9d82d83251b">Type::IO</a>
<br />
 }</td></tr>
<tr class="separator:ae01baba509e1529f4f89e01d9c19fa14 inherit pub_types_structBloomberg_1_1quantum_1_1ITask"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45b23ed79b48f3120e69510692fd3c0b inherit pub_types_structBloomberg_1_1quantum_1_1ITask"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0b">RetCode</a> : int { <a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0ba505a83f220c02df2f85c3810cd9ceb38">RetCode::Success</a> = 0, 
<a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0ba5bda814c4aedb126839228f1a3d92f09">RetCode::Running</a> = std::numeric_limits&lt;int&gt;::max(), 
<a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0bab0d4998a26f5b5742ad38c4af8817e32">RetCode::Exception</a> = (int)Running-1, 
<a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a45b23ed79b48f3120e69510692fd3c0ba34e84ea7adffeee28b31a3d92a5c8436">RetCode::NotCallable</a> = (int)Running-2
 }</td></tr>
<tr class="separator:a45b23ed79b48f3120e69510692fd3c0b inherit pub_types_structBloomberg_1_1quantum_1_1ITask"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c5b8216547b11f3f0e0e6bc7d20956d inherit pub_types_structBloomberg_1_1quantum_1_1ITask"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">Ptr</a> = std::shared_ptr&lt; <a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html">ITask</a> &gt;</td></tr>
<tr class="separator:a6c5b8216547b11f3f0e0e6bc7d20956d inherit pub_types_structBloomberg_1_1quantum_1_1ITask"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae43ecce0c2cdbdfa677d9d0846f1e48 inherit pub_types_structBloomberg_1_1quantum_1_1ITask"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#aae43ecce0c2cdbdfa677d9d0846f1e48">WeakPtr</a> = std::weak_ptr&lt; <a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html">ITask</a> &gt;</td></tr>
<tr class="separator:aae43ecce0c2cdbdfa677d9d0846f1e48 inherit pub_types_structBloomberg_1_1quantum_1_1ITask"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4b96224c1c635ad1bab0b8f0dc0406fe"><td class="memTemplParams" colspan="2">template&lt;class RET , class FUNC , class ... ARGS&gt; </td></tr>
<tr class="memitem:a4b96224c1c635ad1bab0b8f0dc0406fe"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a4b96224c1c635ad1bab0b8f0dc0406fe">Task</a> (std::shared_ptr&lt; <a class="el" href="../../d8/df7/classBloomberg_1_1quantum_1_1Context.html">Context</a>&lt; RET &gt;&gt; ctx, <a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14">ITask::Type</a> type, FUNC &amp;&amp;func, ARGS &amp;&amp;... args)</td></tr>
<tr class="separator:a4b96224c1c635ad1bab0b8f0dc0406fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58f1e23b458c0a85eedc74f295a4cbc8"><td class="memTemplParams" colspan="2">template&lt;class RET , class FUNC , class ... ARGS&gt; </td></tr>
<tr class="memitem:a58f1e23b458c0a85eedc74f295a4cbc8"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a58f1e23b458c0a85eedc74f295a4cbc8">Task</a> (std::shared_ptr&lt; <a class="el" href="../../d8/df7/classBloomberg_1_1quantum_1_1Context.html">Context</a>&lt; RET &gt;&gt; ctx, int queueId, bool <a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#abca81f92c38cf76f10340481dc0afbf1">isHighPriority</a>, <a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14">ITask::Type</a> type, FUNC &amp;&amp;func, ARGS &amp;&amp;... args)</td></tr>
<tr class="separator:a58f1e23b458c0a85eedc74f295a4cbc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cdf556d22571baf84c5c2efe8d69d18"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a2cdf556d22571baf84c5c2efe8d69d18">Task</a> (const <a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a> &amp;task)=delete</td></tr>
<tr class="separator:a2cdf556d22571baf84c5c2efe8d69d18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8274e788cc3bdf7bb5cd64593acf5aa6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a8274e788cc3bdf7bb5cd64593acf5aa6">Task</a> (<a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a> &amp;&amp;task)=default</td></tr>
<tr class="separator:a8274e788cc3bdf7bb5cd64593acf5aa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a490f9bb3751de037eac4c76c93bd74f8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a490f9bb3751de037eac4c76c93bd74f8">operator=</a> (const <a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a> &amp;task)=delete</td></tr>
<tr class="separator:a490f9bb3751de037eac4c76c93bd74f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca43a477a3c277348975a248b3bcf28f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#aca43a477a3c277348975a248b3bcf28f">operator=</a> (<a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a> &amp;&amp;task)=default</td></tr>
<tr class="separator:aca43a477a3c277348975a248b3bcf28f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9239036c9c8c4103c6ed4ba87da7ef26"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a9239036c9c8c4103c6ed4ba87da7ef26">~Task</a> ()</td></tr>
<tr class="separator:a9239036c9c8c4103c6ed4ba87da7ef26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace92bcfa7735b46ec46dd550006c144f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#ace92bcfa7735b46ec46dd550006c144f">terminate</a> () final</td></tr>
<tr class="memdesc:ace92bcfa7735b46ec46dd550006c144f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Terminates the object.  <a href="#ace92bcfa7735b46ec46dd550006c144f">More...</a><br /></td></tr>
<tr class="separator:ace92bcfa7735b46ec46dd550006c144f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad14af29733e56b05ab6649a98565a048"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#ad14af29733e56b05ab6649a98565a048">run</a> () final</td></tr>
<tr class="separator:ad14af29733e56b05ab6649a98565a048"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8376fa061c54b17ade153769b38aba4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#aa8376fa061c54b17ade153769b38aba4">setQueueId</a> (int queueId) final</td></tr>
<tr class="separator:aa8376fa061c54b17ade153769b38aba4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dcfd71e6575b3c870cb44734340d3af"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a1dcfd71e6575b3c870cb44734340d3af">getQueueId</a> () final</td></tr>
<tr class="separator:a1dcfd71e6575b3c870cb44734340d3af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6197734c5beeca050b6f38cc7298614"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14">Type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#ae6197734c5beeca050b6f38cc7298614">getType</a> () const final</td></tr>
<tr class="separator:ae6197734c5beeca050b6f38cc7298614"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48945fba38839b87084cfa36eb8878e6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a48945fba38839b87084cfa36eb8878e6">isBlocked</a> () const final</td></tr>
<tr class="separator:a48945fba38839b87084cfa36eb8878e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcc4419a03414d808cfa85b3e5678483"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#abcc4419a03414d808cfa85b3e5678483">isSleeping</a> (bool updateTimer=false) final</td></tr>
<tr class="separator:abcc4419a03414d808cfa85b3e5678483"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abca81f92c38cf76f10340481dc0afbf1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#abca81f92c38cf76f10340481dc0afbf1">isHighPriority</a> () const final</td></tr>
<tr class="separator:abca81f92c38cf76f10340481dc0afbf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaedae03d5f622a8fa716d6cd921dc27f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#ad476dfb42152a7407ca71ad9a24941ac">ITaskContinuation::Ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#aaedae03d5f622a8fa716d6cd921dc27f">getNextTask</a> () final</td></tr>
<tr class="separator:aaedae03d5f622a8fa716d6cd921dc27f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a839a775239a79218fe84d8e5ec251bd1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a839a775239a79218fe84d8e5ec251bd1">setNextTask</a> (<a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#ad476dfb42152a7407ca71ad9a24941ac">ITaskContinuation::Ptr</a> nextTask) final</td></tr>
<tr class="separator:a839a775239a79218fe84d8e5ec251bd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67850bbd279e4dec07a06ea3a9fa2efa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#ad476dfb42152a7407ca71ad9a24941ac">ITaskContinuation::Ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a67850bbd279e4dec07a06ea3a9fa2efa">getPrevTask</a> () final</td></tr>
<tr class="separator:a67850bbd279e4dec07a06ea3a9fa2efa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f1442ba6bd7dd9056a47aba75cca44e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a2f1442ba6bd7dd9056a47aba75cca44e">setPrevTask</a> (<a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#ad476dfb42152a7407ca71ad9a24941ac">ITaskContinuation::Ptr</a> prevTask) final</td></tr>
<tr class="separator:a2f1442ba6bd7dd9056a47aba75cca44e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a269607c8da5ce25fe0c2a60d31eeea56"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#ad476dfb42152a7407ca71ad9a24941ac">ITaskContinuation::Ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a269607c8da5ce25fe0c2a60d31eeea56">getFirstTask</a> () final</td></tr>
<tr class="separator:a269607c8da5ce25fe0c2a60d31eeea56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b1a6f694daaf149f2a338dc8d27805b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#ad476dfb42152a7407ca71ad9a24941ac">ITaskContinuation::Ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a4b1a6f694daaf149f2a338dc8d27805b">getErrorHandlerOrFinalTask</a> () final</td></tr>
<tr class="separator:a4b1a6f694daaf149f2a338dc8d27805b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structBloomberg_1_1quantum_1_1ITaskContinuation"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structBloomberg_1_1quantum_1_1ITaskContinuation')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html">Bloomberg::quantum::ITaskContinuation</a></td></tr>
<tr class="memitem:aa2307d967f9a0db9e33d8194fe71a7b4 inherit pub_methods_structBloomberg_1_1quantum_1_1ITaskContinuation"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#aa2307d967f9a0db9e33d8194fe71a7b4">setNextTask</a> (<a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">Ptr</a> nextTask)=0</td></tr>
<tr class="separator:aa2307d967f9a0db9e33d8194fe71a7b4 inherit pub_methods_structBloomberg_1_1quantum_1_1ITaskContinuation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af304cf9197ca54c4015dc662def1e111 inherit pub_methods_structBloomberg_1_1quantum_1_1ITaskContinuation"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#af304cf9197ca54c4015dc662def1e111">setPrevTask</a> (<a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a6c5b8216547b11f3f0e0e6bc7d20956d">Ptr</a> nextTask)=0</td></tr>
<tr class="separator:af304cf9197ca54c4015dc662def1e111 inherit pub_methods_structBloomberg_1_1quantum_1_1ITaskContinuation"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structBloomberg_1_1quantum_1_1ITask"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structBloomberg_1_1quantum_1_1ITask')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html">Bloomberg::quantum::ITask</a></td></tr>
<tr class="memitem:aee1b51813555c7444e451f3d5cb8111a inherit pub_methods_structBloomberg_1_1quantum_1_1ITask"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#aee1b51813555c7444e451f3d5cb8111a">~ITask</a> ()=default</td></tr>
<tr class="separator:aee1b51813555c7444e451f3d5cb8111a inherit pub_methods_structBloomberg_1_1quantum_1_1ITask"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structBloomberg_1_1quantum_1_1ITerminate"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structBloomberg_1_1quantum_1_1ITerminate')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html">Bloomberg::quantum::ITerminate</a></td></tr>
<tr class="memitem:a4086a8ce16fc2482ee77701d387b14d8 inherit pub_methods_structBloomberg_1_1quantum_1_1ITerminate"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html#a4086a8ce16fc2482ee77701d387b14d8">~ITerminate</a> ()=default</td></tr>
<tr class="memdesc:a4086a8ce16fc2482ee77701d387b14d8 inherit pub_methods_structBloomberg_1_1quantum_1_1ITerminate"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor. This function is explicitly left empty.  <a href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html#a4086a8ce16fc2482ee77701d387b14d8">More...</a><br /></td></tr>
<tr class="separator:a4086a8ce16fc2482ee77701d387b14d8 inherit pub_methods_structBloomberg_1_1quantum_1_1ITerminate"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ae6024025a92be02a988e5c2fd22ce897"><td class="memItemLeft" align="right" valign="top">static void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#ae6024025a92be02a988e5c2fd22ce897">operator new</a> (size_t size)</td></tr>
<tr class="separator:ae6024025a92be02a988e5c2fd22ce897"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa23f750b8748da4b8c6519f6df3ada9f"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#aa23f750b8748da4b8c6519f6df3ada9f">operator delete</a> (void *p)</td></tr>
<tr class="separator:aa23f750b8748da4b8c6519f6df3ada9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa20bcc3530fc3212465fdb1fcc10b415"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#aa20bcc3530fc3212465fdb1fcc10b415">deleter</a> (<a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a> *p)</td></tr>
<tr class="separator:aa20bcc3530fc3212465fdb1fcc10b415"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Runnable object representing a coroutine. </p>
<dl class="section note"><dt>Note</dt><dd>For internal use only. </dd></dl>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a2d6e0bcef2e9f07d966c9734f92f4969"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d6e0bcef2e9f07d966c9734f92f4969">&#9670;&nbsp;</a></span>Ptr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a2d6e0bcef2e9f07d966c9734f92f4969">Bloomberg::quantum::Task::Ptr</a> =  std::shared_ptr&lt;<a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a>&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5a1f2d26f8f0edb3ac2ff31e36e497ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a1f2d26f8f0edb3ac2ff31e36e497ca">&#9670;&nbsp;</a></span>WeakPtr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html#a5a1f2d26f8f0edb3ac2ff31e36e497ca">Bloomberg::quantum::Task::WeakPtr</a> =  std::weak_ptr&lt;<a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a>&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a4b96224c1c635ad1bab0b8f0dc0406fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b96224c1c635ad1bab0b8f0dc0406fe">&#9670;&nbsp;</a></span>Task() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class RET , class FUNC , class ... ARGS&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">Bloomberg::quantum::Task::Task </td>
          <td>(</td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="../../d8/df7/classBloomberg_1_1quantum_1_1Context.html">Context</a>&lt; RET &gt;&gt;&#160;</td>
          <td class="paramname"><em>ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14">ITask::Type</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FUNC &amp;&amp;&#160;</td>
          <td class="paramname"><em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ARGS &amp;&amp;...&#160;</td>
          <td class="paramname"><em>args</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a58f1e23b458c0a85eedc74f295a4cbc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58f1e23b458c0a85eedc74f295a4cbc8">&#9670;&nbsp;</a></span>Task() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class RET , class FUNC , class ... ARGS&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">Bloomberg::quantum::Task::Task </td>
          <td>(</td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="../../d8/df7/classBloomberg_1_1quantum_1_1Context.html">Context</a>&lt; RET &gt;&gt;&#160;</td>
          <td class="paramname"><em>ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>queueId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isHighPriority</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14">ITask::Type</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FUNC &amp;&amp;&#160;</td>
          <td class="paramname"><em>func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ARGS &amp;&amp;...&#160;</td>
          <td class="paramname"><em>args</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a2cdf556d22571baf84c5c2efe8d69d18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cdf556d22571baf84c5c2efe8d69d18">&#9670;&nbsp;</a></span>Task() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Bloomberg::quantum::Task::Task </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a> &amp;&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a8274e788cc3bdf7bb5cd64593acf5aa6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8274e788cc3bdf7bb5cd64593acf5aa6">&#9670;&nbsp;</a></span>Task() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Bloomberg::quantum::Task::Task </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a9239036c9c8c4103c6ed4ba87da7ef26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9239036c9c8c4103c6ed4ba87da7ef26">&#9670;&nbsp;</a></span>~Task()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Bloomberg::quantum::Task::~Task </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa20bcc3530fc3212465fdb1fcc10b415"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa20bcc3530fc3212465fdb1fcc10b415">&#9670;&nbsp;</a></span>deleter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::Task::deleter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4b1a6f694daaf149f2a338dc8d27805b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b1a6f694daaf149f2a338dc8d27805b">&#9670;&nbsp;</a></span>getErrorHandlerOrFinalTask()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#ad476dfb42152a7407ca71ad9a24941ac">ITaskContinuation::Ptr</a> Bloomberg::quantum::Task::getErrorHandlerOrFinalTask </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#a13a2eeb44710f492b649c0ce8091515c">Bloomberg::quantum::ITaskContinuation</a>.</p>

</div>
</div>
<a id="a269607c8da5ce25fe0c2a60d31eeea56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a269607c8da5ce25fe0c2a60d31eeea56">&#9670;&nbsp;</a></span>getFirstTask()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#ad476dfb42152a7407ca71ad9a24941ac">ITaskContinuation::Ptr</a> Bloomberg::quantum::Task::getFirstTask </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#aeef048835ea0e41c046544ab1680e183">Bloomberg::quantum::ITaskContinuation</a>.</p>

</div>
</div>
<a id="aaedae03d5f622a8fa716d6cd921dc27f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaedae03d5f622a8fa716d6cd921dc27f">&#9670;&nbsp;</a></span>getNextTask()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#ad476dfb42152a7407ca71ad9a24941ac">ITaskContinuation::Ptr</a> Bloomberg::quantum::Task::getNextTask </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#aae548e81c39691d3eb84a22cf12501fb">Bloomberg::quantum::ITaskContinuation</a>.</p>

</div>
</div>
<a id="a67850bbd279e4dec07a06ea3a9fa2efa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67850bbd279e4dec07a06ea3a9fa2efa">&#9670;&nbsp;</a></span>getPrevTask()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#ad476dfb42152a7407ca71ad9a24941ac">ITaskContinuation::Ptr</a> Bloomberg::quantum::Task::getPrevTask </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#a75936cf04c1aa5d136454cf1029493c2">Bloomberg::quantum::ITaskContinuation</a>.</p>

</div>
</div>
<a id="a1dcfd71e6575b3c870cb44734340d3af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1dcfd71e6575b3c870cb44734340d3af">&#9670;&nbsp;</a></span>getQueueId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Bloomberg::quantum::Task::getQueueId </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a75f6344a0b5b9a8edace7a73bd8bd878">Bloomberg::quantum::ITask</a>.</p>

</div>
</div>
<a id="ae6197734c5beeca050b6f38cc7298614"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6197734c5beeca050b6f38cc7298614">&#9670;&nbsp;</a></span>getType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14">ITask::Type</a> Bloomberg::quantum::Task::getType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a83f6b10ce06794400a21503b067e1a24">Bloomberg::quantum::ITask</a>.</p>

</div>
</div>
<a id="a48945fba38839b87084cfa36eb8878e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48945fba38839b87084cfa36eb8878e6">&#9670;&nbsp;</a></span>isBlocked()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Bloomberg::quantum::Task::isBlocked </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a253eedcec3acde6b433d7450fb199aac">Bloomberg::quantum::ITask</a>.</p>

</div>
</div>
<a id="abca81f92c38cf76f10340481dc0afbf1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abca81f92c38cf76f10340481dc0afbf1">&#9670;&nbsp;</a></span>isHighPriority()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Bloomberg::quantum::Task::isHighPriority </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a3ceb7ba29318e456566c2ecee16332c6">Bloomberg::quantum::ITask</a>.</p>

</div>
</div>
<a id="abcc4419a03414d808cfa85b3e5678483"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcc4419a03414d808cfa85b3e5678483">&#9670;&nbsp;</a></span>isSleeping()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Bloomberg::quantum::Task::isSleeping </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>updateTimer</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a9695a227000791bcce83f63dcd843d4f">Bloomberg::quantum::ITask</a>.</p>

</div>
</div>
<a id="aa23f750b8748da4b8c6519f6df3ada9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa23f750b8748da4b8c6519f6df3ada9f">&#9670;&nbsp;</a></span>operator delete()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::Task::operator delete </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ae6024025a92be02a988e5c2fd22ce897"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6024025a92be02a988e5c2fd22ce897">&#9670;&nbsp;</a></span>operator new()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void * Bloomberg::quantum::Task::operator new </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a490f9bb3751de037eac4c76c93bd74f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a490f9bb3751de037eac4c76c93bd74f8">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a>&amp; Bloomberg::quantum::Task::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a> &amp;&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aca43a477a3c277348975a248b3bcf28f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca43a477a3c277348975a248b3bcf28f">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a>&amp; Bloomberg::quantum::Task::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>task</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad14af29733e56b05ab6649a98565a048"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad14af29733e56b05ab6649a98565a048">&#9670;&nbsp;</a></span>run()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Bloomberg::quantum::Task::run </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a8996616a07e7cb2e875d58735e0bed77">Bloomberg::quantum::ITask</a>.</p>

</div>
</div>
<a id="a839a775239a79218fe84d8e5ec251bd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a839a775239a79218fe84d8e5ec251bd1">&#9670;&nbsp;</a></span>setNextTask()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::Task::setNextTask </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#ad476dfb42152a7407ca71ad9a24941ac">ITaskContinuation::Ptr</a>&#160;</td>
          <td class="paramname"><em>nextTask</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a2f1442ba6bd7dd9056a47aba75cca44e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f1442ba6bd7dd9056a47aba75cca44e">&#9670;&nbsp;</a></span>setPrevTask()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::Task::setPrevTask </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d4/d03/structBloomberg_1_1quantum_1_1ITaskContinuation.html#ad476dfb42152a7407ca71ad9a24941ac">ITaskContinuation::Ptr</a>&#160;</td>
          <td class="paramname"><em>prevTask</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aa8376fa061c54b17ade153769b38aba4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8376fa061c54b17ade153769b38aba4">&#9670;&nbsp;</a></span>setQueueId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::Task::setQueueId </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>queueId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#a22afcbfc617f93299eec91b1c25dfb7b">Bloomberg::quantum::ITask</a>.</p>

</div>
</div>
<a id="ace92bcfa7735b46ec46dd550006c144f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace92bcfa7735b46ec46dd550006c144f">&#9670;&nbsp;</a></span>terminate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Bloomberg::quantum::Task::terminate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">final</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Terminates the object. </p>
<dl class="section note"><dt>Note</dt><dd>This method should contain all logic necessary to properly cleanup this instance. </dd></dl>

<p>Implements <a class="el" href="../../d9/ddb/structBloomberg_1_1quantum_1_1ITerminate.html#a66e42ce854b5afbb7742c5ffdaae8503">Bloomberg::quantum::ITerminate</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d6/db9/namespaceBloomberg.html">Bloomberg</a></li><li class="navelem"><a class="el" href="../../dc/d48/namespaceBloomberg_1_1quantum.html">quantum</a></li><li class="navelem"><a class="el" href="../../d0/d90/classBloomberg_1_1quantum_1_1Task.html">Task</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>
